package Platform.WandaFile;

import Base.TestBase;
import org.testng.annotations.*;

/**
 * Created by Alain on 2016/3/8.
 */
public class PlatformFileOps extends TestBase {
    PlatformFile PFF = new PlatformFile();

    //Case - initial project
    @Test
    public void initialProject(){ PFF.initialProject(); }

    //Case - upload, get and download by Id
    @Test
    public void uploadFileById() { PFF.uploadFileById(); }

    @Test
    public void getSubFileById() { PFF.getSubFileById(); }

    @Test
    public void downloadFileById() { PFF.downloadFileById(); }

    //Case - upload, get and download by Path
    @Test
    public void uploadFileByPath() { PFF.uploadFileByPath(); }

    @Test (dependsOnMethods = "uploadFileByPath")
    public void getSubFileByPath() { PFF.getSubFileByPath(); }

    @Test (dependsOnMethods = "getSubFileByPath")
    public void downloadFileByPath() { PFF.downloadFileByPath(); }

    @Test
    public void getFileTree() { PFF.getFileTree(); }

    @Test
    public void getFileInfo() { PFF.getFileInfo(); }

    //Case - create, modify and transfer snapshot
    @Test
    public void createSnapshot() { PFF.createSnapshot(); }

    @Test (dependsOnMethods = "createSnapshot")
    public void modifySnapshotStatus() { PFF.modifySnapshotStatus(); }

    @Test (dependsOnMethods = "modifySnapshotStatus")
    public void transferSnapshot() { PFF.transferSnapshot(); }

    //Case - create project version
    @Test
    public void createProjectVersion() { PFF.createProjectVersion(); }

    //Case - get module set id
    @Test
    public void getModelSetId() { PFF.getModelSetId(); }

}
